#!/bin/bash

echo "stopping dotfujian server"

spid=`ps -ef | grep housingsafety.server.dll | grep -v grep | awk '{print $2}'`

if [ -z "$spid" ]
then
 echo "not found dotfujian server pid, not need stop"
else
 echo "found dotfujian server pid: $spid ,stopping now"
 kill -9 $spid
 echo "dotfujian server stopped"
fi